# @author zfd
# @date 2022年12月13日 9:41
# @desc 比较 逐个按照字符


print('apple' > 'app')
print('apple' > 'banana')

print(ord('a'), ord('b'))
print(ord('钟'))

print(chr(97), chr(98), chr(38047))

'''字符串比较的 == 和 is  前者是比较value 后者是比较内存地址'''
a = b = 'Python'
c = "Python"
print(a == c)
print(b == c)
print(a is b)
print(a is c)
print(c is b)
print(id(a), id(b), id(c))
